﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace DevM.Development.Projects
{
    public class Environment : FullAuditedEntity<long>, IMayHaveTenant
    {
        public int? TenantId { get; set; }
        [MaxLength(200)]
        public string Name { get; set; }
        [MaxLength(100)]
        public string Host { get; set; }
        [MaxLength(200)]
        public string DbConnectStr { get; set; }
        [MaxLength(20)]
        public string DbType { get; set; }
        [MaxLength(20)]
        public string Color { get; set; }

        public int Order { get; set; }
        public long ProjectId { get; set; }
    }
}
